package com.hgd.security.evp.common.constances;

/**
 * 常量信息类
 * @author scp
 * @version 1.0
 */
public class CommonConstants {
    public static final String CONTEXT_KEY_USER_ID = "currentUserId";
    /**
     * 当前用户账号
     */
    public static final String CONTEXT_KEY_USER_ACCOUNT = "currentUserAccount";
    /**
     * 当前用户姓名
     */
    public static final String CONTEXT_KEY_USER_NAME = "currentUserName";
    public static final String CONTEXT_KEY_USER_TOKEN = "currentUserToken";
    public static final String CONTEXT_KEY_TENANT_ID = "currentTenantId";
    public static final String CONTEXT_KEY_DEPT_ID = "currentDeptId";
    public static final String JWT_KEY_USER_ID = "userId";
    public static final String JWT_KEY_NAME = "userName";
    public static final String JWT_KEY_ACCOUNT = "evpAccount";
    public static final String JWT_KEY_EXPIRE = "expire";
    public static final String JWT_KEY_TENANT_ID = "tenantId";
    public static final String JWT_KEY_DEPART_ID = "deptId";
    public static final String REDIS_USER_TOKEN = "jwt:user_";
}
